﻿@model Pro260Website.Models.PlatformNewsViewModel

@{
    ViewBag.Title = "Add News -- Platform";
}

<h2 class="title @Html.GetColor(Request.Cookies["color"])">Add News</h2>

<div id="titlelessItem" >
    <div class="item">
        @using (Html.BeginForm("AddNews", "Platform", FormMethod.Post))
        {
            @Html.HiddenFor(m => m.PlatformId)
            @Html.EditorFor(m => m.Article)
            <input type="submit" value="Save"  class="actionButtons @Html.GetColor(Request.Cookies["color"])"/>
        }

        @Html.ActionLink("Back to Platform List", "AdminListings", "Platform", new { area = "" }, new { @class = "actionButtons " + @Html.GetColor(Request.Cookies["color"]) })
    </div>
</div>
